<template>
	<view class="body">
		<view>
			<web-view :src="vrImageUrl"></web-view>
		</view>
	</view>
</template>

<script>
	import json from '@/json';
	export default {
		data() {
			return {
				objectIndex: -1,
				vrImageUrl: '',
			};
		},
		onLoad(option) {
			uni.showLoading({
				title: '加载中...',
				mask: true
			});
			// if (option.objectIndex) {
			// 	this.objectIndex = option.objectIndex;
			// 	this.vrImageUrl = json.objectList[this.objectIndex].vrImage
			// }
			if (option.vrImage) {
				this.vrImageUrl = option.vrImage
			}
			
		},
		onReady() {
			uni.hideLoading()
		},
		methods: {
			
		},
	}
</script>

<style>
	page, .body{
		height: 100%;
	}
</style>
